package com.example.mybaties.testone.util;

import java.util.List;

public class StrListSortUtil {

    public static void sort(List<String> strList){
        //第一步处理，不包含-都加上-0
        for(int i = 0; i< strList.size(); i++){
            String str = strList.get(i);
            if(!str.contains("-")){
                strList.set(i, str + "-0");
            }
        }

    }

}
